import { createApp } from 'vue'
import './style.css'
import App from './App.vue'

import pinia from './store/index'
import { setupRouter } from './router/index'
import utils from "./utils/index.js";

// 创建 Vue 实例
const app = createApp(App)

app.provide('$utils', utils)

// 挂载到 Vue 根实例
app.use(pinia)

setupRouter(app)

app.mount('#app')
